import { getAction, deleteAction, putAction, postAction, httpAction, downFile, downFilePost } from '@/api/manage'
const serviceName = '/jeecg-fz'
//报表列表
const getList = (params)=>getAction(`${serviceName}/report/page`,params);
const reportSave = (params)=>postAction(`/jmreport/save`,params);
const reportdelete = (params)=>deleteAction(`/jmreport/delete`,params);
const reportCopy = (params)=>getAction(`/jmreport/reportCopy`,params);
const setTemplate = (params)=>getAction(`/jmreport/setTemplate`,params);
const queryJurisdiction = (params)=>getAction(`/jmreport/share/queryJurisdiction`,params);
const addAndEdit = (params)=>postAction(`/jmreport/share/addAndEdit`,params);

export {
  getList,
  reportSave,
  reportdelete,
  reportCopy,
  setTemplate,
  queryJurisdiction,
  addAndEdit
}
